import { mock } from "mockjs";

// 拦截url为‘/api/home/banner’的ajax请求
// 函数的返回值就是伪造请求的响应数据
/* mock("/api/home/banner", () => {
  return require("./comingSoon.json");
}); */
mock("/api/movie/city", () => {
  return require("./city.json");
});

// 拦截未来电影接口
mock("/api/movie/comGoods", () => {
  return require("./comGoods.json");
});
